/*
 * Copyright (C) 2015 yixun All Rights Reserved.
 * 
 * AreaService.java
 */
package com.yixun.qfbao.api.service;

import com.yixun.qfbao.apidto.*;
import com.yixun.qfbao.xf.model.Premises;

import java.util.Map;

/**
 *
 * @author JHSong
 * @version 1.00
 */
public interface AddReportService {
	/**
	 * 报备客户
	 * 经纪人报备
	 * @param reqDto
	 * @param assistantAccessToken
     * @return
	 */
	AddReportResDto addReport(AddReportReqDto reqDto, String assistantAccessToken);

	/**
	 * 案场代报备
	 * @param reqDto
	 * @param assistantAccessToken
	 * @return
	 */
	AgencyReportResDto agencyReport(AgencyReportReqDto reqDto, String assistantAccessToken);

	/**
	 * 重新报备
	 * @param reqDto
	 * @param assistantAccessToken
	 * @return
	 */
	ReportAgainResDto reportAgain(ReportAgainReqDto reqDto, String assistantAccessToken);

	/**
	 * 补全号码
	 * @param reqDto
	 * @return
	 */
	CompletePhoneResDto completePhone(CompletePhoneReqDto reqDto);

	/**
	 * 批量导入报备
	 * @param batchMap 批次号
	 * @param repeatSwitch 去重开关
	 *                     0: 关闭
	 *                     1: 开启
	 * @return
	 */
	Map<String, Object> addBatchCusPre(Map<String, String> batchMap, boolean repeatSwitch, Premises premises, String userId);

}
